package com.bytedance.common.databinding;

import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable;
import java.io.Serializable;

public class ObservableDouble extends a implements Parcelable, Serializable {
    public static final Parcelable.Creator CREATOR = new i();
    private double mValue;
    static final long serialVersionUID = 1;

    public ObservableDouble() {

    }

    public ObservableDouble(double arg2) {

        this.mValue = arg2;
    }

    public int describeContents() {
        return 0;
    }

    public double get() {
        return this.mValue;
    }

    public void set(double arg4) {
        if(arg4 != this.mValue) {
            this.mValue = arg4;
            this.notifyChange();
        }
    }

    public void writeToParcel(Parcel arg3, int arg4) {
        arg3.writeDouble(this.mValue);
    }
}

